package start.designpattern.prototype;


import lombok.extern.slf4j.Slf4j;

/**
 * Created by jingbin on 2020-01-31.
 * 2. 创建扩展了上面抽象类的实体类。Square 正方形
 */

@Slf4j
public class Square extends Shape {

    public Square() {
        type = "Square";
    }

    @Override
    public void draw() {
        log.info("---", "Inside Square::draw() method.");
    }


}
